From 080e826ba035e60a731f5004b2dfe2f5764f0b1f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 22 Dec 2016 15:32:33 +0000 Subject: [PATCH] Look for xenstored with xenstore-read from PATH "Check that xenstored has actually started before talking to it" invoked /usr/sbin/xenstored, which does not exist. Absolute paths are EBW anyway. Signed-off-by: Ian Jackson --- debian/xen-utils-common.xen.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/xen-utils-common.xen.init b/debian/xen-utils-common.xen.init index 018c934405..a153885073 100644 --- a/debian/xen-utils-common.xen.init +++ b/debian/xen-utils-common.xen.init @@ -257,7 +257,7 @@ xenstored_start() # Wait for xenstored to actually come up, timing out after 30 seconds local time=0 local timeout=30 - while [ $time -lt $timeout ] && ! `/usr/sbin/xenstore-read -s / >/dev/null 2>&1` ; do + while [ $time -lt $timeout ] && ! `xenstore-read -s / >/dev/null 2>&1` ; do time=$(( $time+1 )) sleep 1 done -- 2.30.2